package se.zust.edu.cn;

public class WeChatMessageServiceImpl implements MessageService {
    private String wxKey;
    private String wxSecret;

    public WeChatMessageServiceImpl(String wxKey, String wxSecret) {
        this.wxKey = wxKey;
        this.wxSecret = wxSecret;
    }

    @Override
    public boolean sendMsg(Message message) {
        System.out.println("From:"+message.getFrom().getName()+"    微信消息发送: " + message.getContent()+"    To:"+message.getTo().getName());
        return true;
    }
}